#!/bin/bash

# Stop and uninstall MF

echo "This will stop mf-firewall and remove all the files."
echo "The IP tables will be set to default"

echo "Stopping MF"
sudo MFctrl stop

echo "Removing all MF files"
sudo rm /bin/MF*
sudo rm /sbin/MF*
sudo rm -rf /jail
sudo rm -rf /usr/lib/ruby/1.8/MFv4

echo "MF and files have been removed. Please remember to protect this system from external unauthorized access"

